package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "soul_lock")
public class SoulLock implements java.io.Serializable { //是否锁定表

    private ObjectId id; //主键id
    private Integer userId;
    private Integer base;//0解锁,1锁住
    private Integer middle;
    private Integer high;
}